<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="gly"%>
<html>
<head>
<meta charset="GB18030">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/static/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/static/css/font-awesome.min.css">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/static/css/main.css">
</head>
<body style="margin-top: -50px">
<ol class="breadcrumb">
				  <li class="active">车辆状态</li>
				</ol>
<div class="container-fluid">
<div class="row">
<gly:forEach items="${list}" var="list">
  <div class="col-md-2 col-sm-2 ">
    <div class="thumbnail">
    <gly:if test="${list.carStatus=='出车'}">
      <img src="${pageContext.request.contextPath}/static/img/chuche.png" alt="a" style="width:150px;height: 100px">
    </gly:if>
    <gly:if test="${list.carStatus=='可用'}">
      <img src="${pageContext.request.contextPath}/static/img/keyong.png" alt="a" style="width:150px;height: 100px">
    </gly:if>
    <gly:if test="${list.carStatus=='维修'}">
      <img src="${pageContext.request.contextPath}/static/img/weixiu.png" alt="a" style="width:150px;height: 100px">
    </gly:if>
    <gly:if test="${list.carStatus=='其他'}">
      <img src="${pageContext.request.contextPath}/static/img/qita.png" alt="a" style="width:150px;height: 100px">
    </gly:if>
      <div class="caption">
        <p align="center">${list.carLicense}【${list.carStatus}】</p>
      </div>
    </div>
  </div>
  </gly:forEach>
</div>
</div>

<script
		src="${pageContext.request.contextPath}/static/jquery/jquery-2.1.1.min.js"></script>
	<script
		src="${pageContext.request.contextPath}/static/bootstrap/js/bootstrap.min.js"></script>
	<script
		src="${pageContext.request.contextPath}/static/script/docs.min.js"></script>
		
</body>
</html>